#ifndef __USART_H_
#define __USART_H_

#include "empty.h"


typedef enum {
    Uart0,
    Uart1,
    Uart2,
	Uart3
} UART_Instance;


bool UART_isBusy(UART_Regs *uart, uint8_t timeout_ms);
void uart_send_char(UART_Instance uart_instance, char ch);
void uart_send_string(UART_Instance uart_instance, char* str);
void uart_send_data(UART_Instance uart_instance, uint8_t* data, uint32_t size);
void Uart2Send(uint8_t *p_data, uint32_t uiSize);
void BlueTooth_Command(void);

//void uart0_send_char(char ch);
//void uart0_send_string(char* str);

#endif 